package com.zy.explore.common.interfaces.frm;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;

/**
 * 通用ID参数对象(int)
 *
 * @author ChinaYin  主页:https://gitee.com/zy-explorej2ee 邮箱:zyexplorej2ee@sina.com
 * @date 2021年06月13日 15:12:35
 */
@ApiModel("通用ID查询操作Frm")
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class CommonLongIdFrm {

    @ApiModelProperty(value = "主键ID", required = true, example = "1")
    @NotNull(message = "ID不能为空")
    private Long id;

}
